package com.ehome.poct.core.constant;

import com.ehome.exception.BaseBusiEnum;

public enum PayBizCodeEnums implements BaseBusiEnum {

    AUTH_CODE_NOT_NULL(500000001, "authCode不能为空"),
    PAY_CHANNEL_FAIL(500000002, "请求支付渠道失败，%s"),
    UNKNOWN_PAY_TYPE(500000003, "未知的支付方式"),
    ;

    PayBizCodeEnums(Integer busiCode, String msg) {
        this.busiCode = busiCode;
        this.msg = msg;
    }

    private final Integer busiCode;
    private final String msg;

    @Override
    public Integer getBusiCode() {
        return busiCode;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
